Skip to content

Conversation

lhchavez
Copy link
Contributor

It is now possible to skip expanding an entry in tree.Walk() by
returning TreeWalkSkip, in addition to stopping altogether by
returning a non-nil error.

Fixes: #837

It is now possible to skip expanding an entry in `tree.Walk()` by
returning `TreeWalkSkip`, in addition to stopping altogether by
returning a non-nil error.

Fixes: libgit2#837
@lhchavez lhchavez merged commit 9b15518 into libgit2:main Sep 30, 2021
@lhchavez lhchavez deleted the tree-walk-skip branch September 30, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to stop iteration in tree.Walk() since #700
1 participant